package aufgabe_03;

// Test.java
import java.io.*;

import pers.Person;
import studi.Student;
import pers.prof.Professor;

public class Test02 {
	public static void main(String args[]) {
		System.out.println("Start des Programms");
		System.out.println();
		System.out.println("Person");
		Person pers1 = new Person();
		System.out.println();
		System.out.println("Student");
		Student stud1 = new Student();
		System.out.println();
		System.out.println();
		System.out.println("Professor");
		Professor prof1 = new Professor();

		System.out.println("Ausgabe Person");
		pers1.print();
		System.out.println("\nAusgabe Student");
		stud1.print();
		System.out.println("\nAusgabe Professor");
		prof1.print();
	}
}